/****************************MISC TESTS**************************************
 ** 
 ** Note: Move to a dedicated "tests.js" file (or such) when time allows
 ********************************************************************************
 */
//
//function test1() {
//    var className="";
//    className=$("#toto").attr("class");
//    currentConsole.log("'raw' className="+className); //+" "+$jqVariable.attr("css")[1];
//}
 
function testPlaceholdersLoadedOk() {    
    
    
    $inputTags.val($inputTags.attr("class"));
    $inputTagsCaption.text($inputTagsCaption.attr("class"));
    
    $inputUrl.val($inputUrl.attr("class"));
    $inputUrlCaption.text($inputUrlCaption.attr("class"));
    
    $inputTitle.val($inputTitle.attr("class"));
    $inputTitleCaption.text($inputTitleCaption.attr("class"));
    
    $inputTriggerFeedQuery.html($inputTriggerFeedQuery.attr("class"));
    $inputTriggerFeedQueryCaption.text($inputTriggerFeedQueryCaption.attr("class"));
    
    $outputFeedback.html($outputFeedback.attr("class"));
    $outputFeedbackCaption.text($outputFeedbackCaption.attr("class"));
}


function testLoadSinglePlaceholder() {
    
    console.log("popup.js : function testLoadSinglePlaceholder : testing placeholder for first element only...");
    
    $inputTags=$("."+inputTagsPlaceholder+".value");
    $inputTags.val($inputTags.attr("class"));
    $inputTags.val("???"); //$inputTags.attr("class"));

//    loadPlaceholders();
//    testPlaceholdersLoadedOk();
}

function testCreateCurrentTag() {
    uiAddTag("toto");
    uiAddTag("tata");
    uiAddTag("whatever");
}

